const BASE_URL = "http://localhost:3000";
const API ={
    LOGIN:{
        LOGIN_ACTION: BASE_URL+'/admin/login_action',
        LOGIN_CHECK:BASE_URL+'/admin/login_check',
        LOGOUT_ACTION:BASE_URL+'/admin/logout_action'
    },
    COURSE:{
        GET_COURSE_DATA:BASE_URL+'/get_courses',
        CHANGE_COURSE_FIELD:BASE_URL+'/change_course_field'
    }
   
    
}
const NAV=[
    {
        field:'course',
        title:'课程管理'
    },
    {
        field:'recom_course',
        title:'推荐课程'
    },
    {
        field:'slider',
        title:'轮播图管理'
    },
    {
        field:'collection',
        title:'课程集合管理'
    },
    {
        field:'teacher',
        title:'老师管理'
    },
    {
        field:'student',
        title:'学生管理'
    },
    {
        field:'crawler',
        title:'数据爬取'
    }
]
export{
    API,
    NAV
}